/**
 * 数组去重
 */
export function unique<T extends any[]>(arr: T): T {
  return [...new Set(arr)] as T
}
